package com.xyht.sca_s.student_manage_system.modules.rxRegistrationWelcome.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.resp.RxRegistrationChargeCategoryRecordResp;
import com.xyht.sca_s.student_manage_system.modules.rxRegistrationWelcome.entity.req.RxRegistrationWelcomeChargeCategorySettingReq;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 招生管理学生减免申请表
 * </p>
 *
 * @author XYHT
 * @since 2024-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("rx_registration_welcome_reduction")
@ApiModel(value="RxRegistrationWelcomeReduction对象", description="招生管理学生减免申请表")
public class RxRegistrationWelcomeReductionResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生减免申请表id")
    private String id;

    @ApiModelProperty(value = "学生id")
    private String stuId;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "申请原因")
    private String applicationReason;

    @ApiModelProperty(value = "附件")
    private String annex;

    @ApiModelProperty(value = "审批状态 0: 未审批 1: 通过 2:驳回 3:撤销")
    private Integer allowStatus;

    @ApiModelProperty(value = "审批时间")
    private Date allowTime;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "减免金额")
    private BigDecimal reductionAmount;

    @ApiModelProperty(value = "审批意见")
    private String allowOption;

    @ApiModelProperty(value = "减免前的缴费项")
    private List<RxRegistrationPlanChargeCategoryResp> beforeCategoryList;

    @ApiModelProperty(value = "减免后的缴费项")
    private List<RxRegistrationPlanChargeCategoryResp> afterCategoryList;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "审批人信息")
    private SmsUserResp allowUserInfo;

}
